package com.example.dataextraction.enums;

/**
 * @author Zenan Chen
 * @date 2023/3/28 10:46
 */
public enum DataSourceEnum {
    DEFAULT_DATA_SOURCE("doris数据源", "DORIS", ""),
    MYSQL_DAP_DATA_SOURCE("mysql的dap数据源", "DAP", ""),
    MYSQL_PORTAL_DATA_SOURCE("mysql的portal数据源", "PORTAL", ""),
    ;

    private String name;
    private String code;
    private String desc;

    DataSourceEnum() {
    }

    DataSourceEnum(String name, String code, String desc) {
        this.name = name;
        this.code = code;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }


}
